package ac.il.technion.cs236635.project.core;

import javax.jws.WebMethod;
import javax.jws.WebService;

@WebService
public class CloudWorker {

	@WebMethod( operationName = "submitLowJob")
	public void submitLowJob( final ServerJob job) {
		JobsQueue.getInstance( ).pushLowPriorityJob( job);
	}
	
	@WebMethod( operationName = "submitHighJob")
	public void submitHighJob( final ServerJob job) {
		JobsQueue.getInstance( ).pushHighPriorityJob( job);
	}
}
